/*****************************************************************************
*
*  PROJECT:     Projekt-grupp6
*  FILE:        net.h
*  PURPOSE:     Header file for net.c
*  DEVELOPER(S):  Kuchar Moulod Nizhad <kuchar@kth.se>
*
*****************************************************************************/

#ifndef MET_H
#define NET_H

void init_udp(char ip[16]);
void udp_gamethread();
int game_recv_udp(void *parameters);
char* getdata();
void r_clear();
void game_send_udp(int x, int y, char key, float hp, int damagedone, int state);
void udp_stopthread();

#endif